﻿using Order.Api.Read.Application.Command;
using Order.Api.Read.Dto.Order;
using Order.ErrorCode;

namespace Order.Api.Read.Service.RegistrationOrderService
{
    /// <summary>
    /// 挂号订单服务接口
    /// </summary>
    public interface IRegistrationOrderService
    {
        /// <summary>
        /// 获取挂号订单分页数据
        /// </summary>
        /// <param name="command">分页查询命令</param>
        /// <returns>分页结果</returns>
        Task<ApiPageIng<RegistrationOrderPageDto>> GetRegistrationOrderPageAsync(RegistrationOrderPageCommand command);

        /// <summary>
        /// 获取挂号订单详情
        /// </summary>
        /// <param name="command">详情查询命令</param>
        /// <returns>订单详情</returns>
        Task<RegistrationOrderDetailDto> GetRegistrationOrderDetailAsync(RegistrationOrderDetailCommand command);
    }
}
